package pers.hongze.test.service;

import pers.hongze.test.pojo.AdminRole;

import java.util.List;

public interface AdminRoleService {
    public void saveAdminRole(AdminRole adminRole) throws Exception;

    public void updateAdminRole(AdminRole adminRole);

    public void deleteAdminRole(String adminRoleId);

    public AdminRole queryAdminRoleById(String adminRoleId);

    public List<AdminRole> queryAdminRoleList(AdminRole adminRole);

    public List<AdminRole> queryAdminRoleListPaged(AdminRole adminRole, Integer page, Integer pageSize);

    public AdminRole queryAdminRoleByIdCustom(String adminRoleId);

    public void saveAdminRoleTransactional(AdminRole adminRole);
}
